package com.cssl.feign;

import com.cssl.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

//@FeignClient(name = "xiaofeizhe")
@FeignClient(name = "zuull9000")
public interface Userservice {
    @RequestMapping("/gateway/provider/selectAll")
    Map<String,Object> login(@RequestParam String name1,@RequestParam String pwd1);
}
